@import'./modules/base';
@import'./modules/header.scss';
@import'./modules/footer.scss';
@import'./modules/floatbar.scss';

// 广告-轮播图及公告栏
.banner {
    height: 436px;
    margin-bottom: 21px;
    .carousel {
        width: 1012px;
        height: 436px;
        overflow: hidden;
        float: left;
        .swiper-container {
            height: 436px;
            img{
                width: 1012px;
                height: 436px; 
            }
        }  
    }
    .notice {
        float: left;
        width: 187px;
        .notice-title {
            width: 156px;
            height: 36px;
            line-height: 36px;
            font-size: 14px;
            color: #777777;
            padding-left: 31px;
            background: #efefef url(/images/t2.png) no-repeat 10px center;
        }
        ul {
            height: 190px;
            overflow: hidden;
            background-color: #ffffff;
            li {
                width: 145px;
                height: 12px;
                line-height: 12px;
                white-space: nowrap;
                overflow: hidden;
                margin-left: 24px;
                font-size: 12px;
                margin-top: 18px;
                &:nth-child(1){
                    margin-top: 15px;
                }
                a{
                    color: #666666;
                    &:hover{
                        color: #c5023a;
                    }
                }
                &:hover a{
                    color: #c5023a;
                }
            }
        }
    }
}
// 热销新品栏
.new-product{
    height: 331px;
    margin-bottom: 14px;
    .tabwidget{
        width: 905px;
        float: left;
        .Tab1{
            height: 56px;
            width: 100%;
            margin-bottom: 11px;
            
            li{
                float: left;
                height: 53px;
                line-height: 53px;
                width: 25%;
                text-align: center;
                border-bottom: 3px solid #000000;
                font-size: 17px;
                a{
                    color: #4f4f4f;
                }
            }
            .change {
                position: relative;
                margin-bottom: -3px;
                background: url(/images/t3.png) no-repeat center bottom;
                border-bottom: 3px solid #c5023a;
                a{
                    color: #c5023a;
                }
            }
        }
        .tab1-bottom{
            height: 264px;
            .tab1-bottom-ul{
                display: none;
                li{
                    width: 219px;
                    height: 262px;
                    background-color: #ffffff;
                    border: 1px solid #eeeeee;
                    text-align: center;
                    float: left;
                    margin-right: 7px;
                    img{
                        width: 185px;
                        height: 185px; 
                        margin-top: 13px;
                    }
                    p{
                        font-size: 12px;
                        height: 32px;
                        line-height: 32px;
                        color: #333333;
                    }
                    span{
                        font-weight: 600;
                        color:#c70238;
                    }
                    &:nth-child(4){
                        margin: 0px;
                    }
                    &:hover{
                        margin-top: -5px;
                        box-shadow: 0px 0px 13px rgba(80, 80, 80, 0.4);
                        position: relative;
                    }
                }
            }
            .change{
                  display: block;  
            }
        }
    }
    .simple-img{
        width: 227px;
        float: left;
        margin-left: 22px;
        img{
            margin-top: 29px;
        }
    }
}
// 产品分类展示区
.product-show{
    height: 421px;
    margin-bottom: 14px;
    .top-title{
        height: 37px;
        border-bottom:2px solid #e4004f;
        h3{
            float: left;
            height: 37px;
            line-height: 37px;
            font-weight: 400;
            font-size: 17px;
            margin-left: 19px;
        }
        ul{
            width: 368px;
            height: 37px;
            float: right;
            display: flex;
            align-items: center;
            margin-right: 24px;
            li{
                height: 13px;
                line-height: 13px;
                font-size: 12px;
                padding: 0px 11px;
                border-right: 1px solid #989898;
                text-align: center;
                &:nth-child(5){
                    border:none;
                }
                a{
                    color: #989898;
                }
                &:hover a{
                    color: #e4004f;
                }
            }
        }
    }
    .bottom-show{
        height: 382px;
        background-color: #ffffff;
        .bigshow{
            width: 316px;
            height: 367px;
            margin-left: 18px;  
            margin-right: 2px;
            float: left;
        }
        .smallshow{
            width: 864px;
            float: left;
            display: flex;
            li{
                width: 288px;
                text-align: center;
                background-color: #ffffff;
                img{
                    width: 180px;
                    height: 180px;
                    margin-top: 69px;
                }
                p{
                    font-size: 18px;
                    height: 18px;
                    line-height: 18px;
                    font-weight: bold;
                    margin-top: 10px;
                    color: #4f4f4f;
                    &:nth-child(3){
                        font-size: 12px;
                        font-weight: normal;
                        margin-top:5px;
                    }
                }
                span{
                    font-size: 16px;
                    color: #e70050;
                }
                &:hover{
                    margin-top: -10px;
                    box-shadow: 0px 0px 13px rgba(80, 80, 80, 0.4);
                    position: relative;
                }
            }
        }
    }
}

// 活动栏
.activity{
    height: 256px;
    margin-bottom: 25px;
    .parttitle{
        height: 39px;
        line-height: 39px;
        margin-left: 19px;
        color: #333333;
        font-weight: 400;
        font-size: 17px;
    }
    ul{
        height: 217px;
        background-color: #ffffff;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        li{
            width: 375px;
            height: 200px;
        }
    }
}

